package constant;

public class Msg {
	public static final String SUCCESS_EXECUTE = "{\"error\": 00}";
	public static final String ERROR_PARA_NUM = "{\"error\": 01, \"msg\":\"参数个数不对应\"}";
	public static final String ERROR_PARA_TYPE = "{\"error\": 02, \"msg\":\"参数类型不对应\"}";
	public static final String ERROR_OFFSET_OUT = "{\"error\": 03, \"msg\":\"偏移量超过数据总条数\"}";
	public static final String ERROR_ID_SAME = "{\"error\": 04, \"msg\":\"两个ID相同\"}";
	public static final String ERROR_INSERT_EXISTED = "{\"error\": 05, \"msg\":\"要添加的数据已存在，无法重复添加\"}";
	public static final String ERROR_DELETE_UNEXISTED = "{\"error\": 06, \"msg\":\"要删除的数据不存在\"}";
	public static final String ERROR_PER_PAGE_NUM = "{\"error\": 07, \"msg\":\"每页显示数据不能为零\"}";
	public static final String ERROR_ID_UNEXISTED = "{\"error\": 08, \"msg\":\"参数主鍵ID未出现在指定表中\"}";
	public static final String ERROR_ID_EXISTED = "{\"error\": 09, \"msg\":\"参数主鍵ID已存在指定表中\"}";
	public static final String ERROR_WATCH_TYPE = "{\"error\": 10, \"msg\":\"操作watch表时参数type不是指定字符串\"}";
	public static final String ERROR_UNKNOWN = "{\"error\": 999, \"msg\":\"后台发生未知错误，可能是数据处理或操作数据库出错，异常已抛出，具体情况请查询日志，/tomcat/log/catalina-daemon.out\"}";
	public static final String ERROR_COMPRAE = "{\"error\": 11, \"msg\":\"compare报错，某值不能比另一个某值小/大\"}";
	public static final String ERROR_EXISTED = "{\"error\": 12, \"msg\":\"数据已存在\"}";
	public static final String ERROR_PATTERN = "{\"error\": 12, \"msg\":\"数据不符合格式要求\"}";
	public static final String ERROR_OPENID_NOT_FIND = "{\"error\": 13, \"msg\":\"未找到openid\"}";
	public static final String ERROR_REGISTER = "{\"error\": 14, \"msg\":\"注册失败\"}";
	public static final String ERROR_UNLOGIN = "{\"error\": 15, \"msg\":\"用户未登录\"}";
	public static final String ERROR_FAIL_SEND = "{\"error\": 16, \"msg\":\"短信发送失败\"}";
	public static final String ERROR_VALIDCODE = "{\"error\": 17, \"msg\":\"验证码不正确\"}";
	public static final String ERROR_METHOD = "{\"error\": 18, \"msg\":\"请求方式错误\"}";
	public static final String ERROR_NO_PERMISSION = "{\"error\": 19, \"msg\":\"无权限执行该操作\"}";
	public static final String ERROR_STAR_EXISTED = "{\"error\": 20, \"msg\":\"您已经为这条 动态/菜谱 点过赞了\"}";
}
